
public class Role {
	private String name;
	private String weap;
	private int range;


	public Role(String w){
		weap = w;
		if (w.equals("Bow")||w.equals("Magic"))
			range = 2;
		else
			range = 1;
	}
	
	public String getWeapon(){
		return weap;
	}
	
	public int getRange(){
		return range;
	}
	

	public String toString(){
		return name;
	}
}